package com.lw.lwte.common.enums;

/**
 * @author liuwei
 * @date 2024/10/30
 * @description: http请求类型枚举
 */
public enum MediaType {

    APPLICATION_ATOM_XML("application/atom+xml"),
    APPLICATION_FORM_URLENCODED("application/x-www-form-urlencoded"),
    APPLICATION_OCTET_STREAM("application/octet-stream"),
    APPLICATION_SVG_XML("application/svg+xml"),
    APPLICATION_XHTML_XML("application/xhtml+xml"),
    APPLICATION_XML("application/xml"),
    APPLICATION_JSON("application/json"),
    MULTIPART_FORM_DATA("multipart/form-data"),
    TEXT_HTML("text/html"),
    TEXT_PLAIN("text/plain"),
    ALL_TYPES("*/*");


    private MediaType(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return value;
    }

    private String value;

}
